﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Domain;

namespace Service
{
    [ServiceContract]
    public interface IService
    {
        [OperationContract]
        User Login(string loginName, string passWord);

        [OperationContract]
        void AddUser(User user);

        [OperationContract]
        List<User> ListAllUsers();

        [OperationContract]
        List<Language> ListAvailableLanguages();
    }

}
